package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.MaintainRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaintainRecordMapper {
    int deleteByPrimaryKey(String tid);

    int insert(MaintainRecord record);

    int insertSelective(MaintainRecord record);

    MaintainRecord selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(MaintainRecord record);

    List<String> selectMaintainRecordList(String key, MaintainRecord maintainRecord);
    int updateByPrimaryKey(MaintainRecord record);
    List<String> getMaintainRecordList(@Param("key") String key, @Param("maintainRecord") MaintainRecord maintainRecord);

    List<MaintainRecord> selectListMaintainRecordByListTid(@Param("stringList") List<String> stringList, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
}